<!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html xmlns:ui="http://java.sun.com/jsf/facelets"
	xmlns:h="http://java.sun.com/jsf/html"
	xmlns:f="http://java.sun.com/jsf/core"
	xmlns:t="http://myfaces.apache.org/tomahawk">
<body>
	<f:view>
		<ui:composition template="WEB-INF/layout/templatePage.xhtml">

			<ui:define name="title">
				<h:outputText>Листа резервација</h:outputText>
			</ui:define>

			<ui:define name="content">
				<h:dataTable value="#{userBean.newOffer.resOffers}" var="i">
					<h:column>
						<h:outputText value="#{userBean.newOffer.resType} :"/>
						<h:panelGrid columns="4">
							<h:outputText>Назив:</h:outputText>
							<h:outputText  value="#{i.name}"/>
							<h:outputText>Опис:</h:outputText>
							<h:outputText  value="#{i.desc}"/>
						</h:panelGrid>
					</h:column>
				</h:dataTable>
			</ui:define>
		</ui:composition>
	</f:view>
</body>
</html>